package com.jy.rhin.infra.cda.mzzy;

import com.jy.rhin.model.CodeObject;
import com.jy.rhin.model.body.shoushucaozuo.ShouShu;
import com.jy.rhin.utils.CDAUtil;
import lombok.Data;

import java.util.Date;

/**
 * @author dhl
 * @date 2023/2/13
 * @Description
 */
@Data
public class ShouShuInfoVo {

    public ShouShu menZhenShouShuVo() {
        ShouShu shouShu = new ShouShu();
        shouShu.setShouShuCZ(new CodeObject(this.shouShuJCZBM, this.shouShuJCZMC));
        shouShu.setCaoZuoSJ(CDAUtil.toD15(this.shouShuKSRQSJ));
        shouShu.setCaoZuoMC(this.shouShuJCZMC);
        return shouShu;
    }

    /**
     * 就诊流水号
     */
    private String jiuZhenLSH;
    /**
     * 手术时间
     */
    private Date shouShuKSRQSJ;
    /**
     * 手术代码
     */
    private String shouShuJCZBM;
    /**
     * 手术名称
     */
    private String shouShuJCZMC;


}
